package com.itbaizhan.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 
 * @TableName t_order
 */
@TableName(value ="t_order")
public class TOrder implements Serializable {
    /**
     * 订单id
     * 使用雪花算法生成
     */
    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    /**
     * 订单状态 1 待支付 2已支付
     */
    private Integer orderStatus;

    /**
     * 收货人名字
     */
    private String receiverName;

    /**
     * 收货人手机
     */
    private String receiverMobile;

    /**
     * 订单价格
     */
    private BigDecimal orderAmount;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /**
     * 
     */
    public String getId() {
        return id;
    }

    /**
     * 
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * 订单状态 1 待支付 2已支付
     */
    public Integer getOrderStatus() {
        return orderStatus;
    }

    /**
     * 订单状态 1 待支付 2已支付
     */
    public void setOrderStatus(Integer orderStatus) {
        this.orderStatus = orderStatus;
    }

    /**
     * 收货人名字
     */
    public String getReceiverName() {
        return receiverName;
    }

    /**
     * 收货人名字
     */
    public void setReceiverName(String receiverName) {
        this.receiverName = receiverName;
    }

    /**
     * 收货人手机
     */
    public String getReceiverMobile() {
        return receiverMobile;
    }

    /**
     * 收货人手机
     */
    public void setReceiverMobile(String receiverMobile) {
        this.receiverMobile = receiverMobile;
    }

    /**
     * 订单价格
     */
    public BigDecimal getOrderAmount() {
        return orderAmount;
    }

    /**
     * 订单价格
     */
    public void setOrderAmount(BigDecimal orderAmount) {
        this.orderAmount = orderAmount;
    }
}